package com.example.everying.model.entity.statistics;/*
 * 项目名称: everything
 * 文件名: UserRetentionStat
 * 作者: 张泽阳
 * 日期: 2025/7/12
 * 描述:
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UserRetentionStat {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("统计日期")
    private LocalDate statDate;

    @ApiModelProperty("次日留存")
    private BigDecimal rr1;

    @ApiModelProperty("七日留存")
    private BigDecimal rr7;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;



}
